// LoadSpeedView.h : interface of the CLoadSpeedView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_LOADSPEEDVIEW_H__A079D2AC_4588_46D0_B2BC_01D5D874C777__INCLUDED_)
#define AFX_LOADSPEEDVIEW_H__A079D2AC_4588_46D0_B2BC_01D5D874C777__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "FileParse.h"

class CLoadSpeedView : public CView
{
protected: // create from serialization only
	CLoadSpeedView();
	DECLARE_DYNCREATE(CLoadSpeedView)

// Attributes
public:
	CLoadSpeedDoc* GetDocument();

// Operations
public:
	BOOL LoadFile(LPCSTR strFileName);
	BOOL SaveFile(LPCSTR strFileName);
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CLoadSpeedView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CLoadSpeedView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:
	CFPData* pFPData; 
	int nLoadParseStyle;
	int m_nTimer;

protected:
	BOOL CLoadSpeedView::SetStatusBarText(int nID, LPCSTR strText);		
// Generated message map functions
protected:
	//{{AFX_MSG(CLoadSpeedView)
	afx_msg void OnCreateRandPointsToolbar();
	afx_msg void OnLoadStyleCombox();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in LoadSpeedView.cpp
inline CLoadSpeedDoc* CLoadSpeedView::GetDocument()
   { return (CLoadSpeedDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_LOADSPEEDVIEW_H__A079D2AC_4588_46D0_B2BC_01D5D874C777__INCLUDED_)
